Optimal. Leaf size=43 \[ -\frac {\log (x) (b c-a d)}{a^2}+\frac {(b c-a d) \log (a+b x)}{a^2}-\frac {c}{a x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {77} \[ -\frac {\log (x) (b c-a d)}{a^2}+\frac {(b c-a d) \log (a+b x)}{a^2}-\frac {c}{a x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rubi steps
\begin {align*} \int \frac {c+d x}{x^2 (a+b x)} \, dx &=\int \left (\frac {c}{a x^2}+\frac {-b c+a d}{a^2 x}-\frac {b (-b c+a d)}{a^2 (a+b x)}\right ) \, dx\\ &=-\frac {c}{a x}-\frac {(b c-a d) \log (x)}{a^2}+\frac {(b c-a d) \log (a+b x)}{a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 42, normalized size = 0.98 \[ \frac {\log (x) (a d-b c)}{a^2}+\frac {(b c-a d) \log (a+b x)}{a^2}-\frac {c}{a x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.20, size = 41, normalized size = 0.95 \[ \frac {{\left (b c - a d\right )} x \log \left (b x + a\right ) - {\left (b c - a d\right )} x \log \relax (x) - a c}{a^{2} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.88, size = 51, normalized size = 1.19 \[ -\frac {{\left (b c - a d\right )} \log \left ({\left | x \right |}\right )}{a^{2}} - \frac {c}{a x} + \frac {{\left (b^{2} c - a b d\right )} \log \left ({\left | b x + a \right |}\right )}{a^{2} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 51, normalized size = 1.19 \[ \frac {d \ln \relax (x )}{a}-\frac {d \ln \left (b x +a \right )}{a}-\frac {b c \ln \relax (x )}{a^{2}}+\frac {b c \ln \left (b x +a \right )}{a^{2}}-\frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.00, size = 43, normalized size = 1.00 \[ \frac {{\left (b c - a d\right )} \log \left (b x + a\right )}{a^{2}} - \frac {{\left (b c - a d\right )} \log \relax (x)}{a^{2}} - \frac {c}{a x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.33, size = 33, normalized size = 0.77 \[ -\frac {c}{a\,x}-\frac {2\,\mathrm {atanh}\left (\frac {2\,b\,x}{a}+1\right )\,\left (a\,d-b\,c\right )}{a^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.39, size = 95, normalized size = 2.21 \[ - \frac {c}{a x} + \frac {\left (a d - b c\right ) \log {\left (x + \frac {a^{2} d - a b c - a \left (a d - b c\right )}{2 a b d - 2 b^{2} c} \right )}}{a^{2}} - \frac {\left (a d - b c\right ) \log {\left (x + \frac {a^{2} d - a b c + a \left (a d - b c\right )}{2 a b d - 2 b^{2} c} \right )}}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________